package com.douqu.game.auth.database.model;

import java.util.Date;

/**
 * @Author: wangzhenfei
 * @Description:
 * @Date: 2017-11-13 15:00
 */
public class CdkUseRecordModel {
    private Integer id;

    /**
     * cdk组id
     */
    private Integer cdkId;

    /**
     * cdk详情id
     */
    private Integer cdkDetailId;

    /**
     * 服务区组id
     */
    private Integer serverId;

    /**
     * 玩家流水号
     */
    private String objectIndex;

    /**
     * 玩家名称
     */
    private String nickName;

    /**
     * 创建时间
     */
    private Date createTime;

    public CdkUseRecordModel(Integer cdkId,Integer cdkDetailId,Integer serverId,
                             String objectIndex,String nickName){
        this.cdkId = cdkId;
        this.cdkDetailId = cdkDetailId;
        this.serverId = serverId;
        this.objectIndex = objectIndex;
        this.nickName = nickName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCdkId() {
        return cdkId;
    }

    public void setCdkId(Integer cdkId) {
        this.cdkId = cdkId;
    }

    public Integer getCdkDetailId() {
        return cdkDetailId;
    }

    public void setCdkDetailId(Integer cdkDetailId) {
        this.cdkDetailId = cdkDetailId;
    }

    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public String getObjectIndex() {
        return objectIndex;
    }

    public void setObjectIndex(String objectIndex) {
        this.objectIndex = objectIndex;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "CdkUseRecord [id=" + id + ", cdkId=" + cdkId + ", cdkDetailId=" + cdkDetailId + ", serverId=" + serverId
                + ", objectIndex=" + objectIndex + ", nickName=" + nickName + ", createTime=" + createTime + "]";
    }
}
